package User;

import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 34255
 * Date: 2024-05-24
 * Time: 17:27
 */
public class Administrators extends User{

    public Administrators(String name) {
        super(name);
    }

    @Override
    public int menu() {
        System.out.println("**********管理员菜单*********");
        System.out.println("          1.查找图书        ");
        System.out.println("          2.新增图书        ");
        System.out.println("          3.删除图书        ");
        System.out.println("          4.显示系统        ");
        System.out.println("          5.退出系统        ");
        System.out.println("***************************");
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入您要使用的功能");
        return scanner.nextInt();
    }
}
